Video deblocking

ABSTRACT

Video deblocking can be implemented in video content processing and delivery environments when displaying decompressed/decoded video information. Discontinuities are identified and smoothed to reduce blockiness, for example at macroblock boundaries in conjunction with Moving Picture Expert Group (MPEG)-based schemes. In exemplary implementation(s), a client device detects discontinuities at or near block boundaries, determines which discontinuities are artificial, and smooths at least those discontinuities that are determined to be artificial. These actions may be accomplished using (i) one or more Laplacian of Gaussian (LoG) operations as applied to both an image and a quantization matrix and (ii) windowed comparisons between values and a threshold resulting from the LoG operations. Alternatively, these actions may be accomplished using a spatio-temporally varying filter. Additionally, in an MPEG context, intra image units may be deblocked using the former approach while non-intra image units may be deblocked using the latter approach.

TECHNICAL FIELD

[0001] This disclosure relates in general to video deblocking and in particular, by way of example but not limitation, to post-processing of video information to reduce blockiness in the display thereof.

BACKGROUND

[0002] Television-based entertainment systems are expanding the programming and services that they offer. In addition to television program content such as that found on broadcast and traditional cable networks, television service providers are adding on-demand video, as well as other interactive services, features, and applications. Such content and additional information are downloaded over a network for display, use, and/or storage on client-side set-top boxes or similar devices. Because of bandwidth constraints, downloads that include audio and/or video information, for example, are transmitted in a coded or compressed format. In other words, to reduce the amount of data that is transmitted, the information is typically compressed from a first size to a second smaller size.

[0003] After the compressed/coded data is transmitted, the data is decompressed/decoded into a semblance of the original audio and video information. Unfortunately, because the compression-decompression cycle is typically lossy, the decompressed version of the audio and video information differs from the original version of the audio and video information. With video information, for example, such differences can result in the presentation quality of the video information being visibly decreased.

[0004] Accordingly, for television-based entertainment systems, there is a need for schemes and techniques to enable post-processing improvements to video information that has been adulterated in a compression-decompression cycle.

SUMMARY

[0005] Video deblocking can be implemented in video content processing and delivery environments when displaying decompressed/decoded video information. Discontinuities are identified and smoothed to reduce blockiness, for example at macroblock boundaries in conjunction with Moving Picture Expert Group (MPEG)-based schemes. In exemplary implementation(s), a client device detects discontinuities at or near block boundaries, determines which discontinuities are artificial, and smooths at least those discontinuities that are determined to be artificial. These actions may be accomplished using (i) one or more Laplacian of Gaussian (LoG) operations as applied to both an image and a quantization matrix and (ii) windowed comparisons between values and a threshold resulting from the LoG operations. Alternatively, these actions may be accomplished using a spatio-temporally varying filter. Additionally, in an MPEG context, intra image units may be deblocked using the former approach while non-intra image units may be deblocked using the latter approach.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The same numbers are used throughout the drawings to reference like and/or corresponding aspects, features, and components.

[0007]FIG. 1 illustrates an exemplary television system architecture in which the systems and methods for video deblocking can be implemented.

[0008]FIG. 2 illustrates an exemplary client device, a television, and various input devices that interact with the client device.

[0009]FIG. 3 is a block diagram that illustrates components of the exemplary client devices shown in FIGS. 1 and 2.

[0010]FIG. 4 is a set of graphs that illustrate an exemplary discontinuity and smoothing thereof.

[0011]FIG. 5 is a flow diagram that illustrates an exemplary method for video deblocking.

[0012]FIG. 6 is a flow diagram that illustrates an exemplary process for directly deblocking video.

[0013]FIG. 7 illustrates an exemplary window for deblocking analysis around a macroblock boundary.

[0014]FIG. 8 illustrates an exemplary Laplacian of Gaussian (LoG) operation in diagrammatic form.

[0015]FIG. 9 is a graph that illustrates exemplary values resulting from an LoG operation on a quantization matrix.

[0016]FIG. 10 illustrates pixels around a macroblock boundary for an exemplary visual adjustment procedure.

[0017]FIGS. 11A, 11B, and 11C are exemplary diagrams of a portion of a video information presentation across multiple frames of a group of pictures (GOP).

[0018]FIG. 12 is a graph that illustrates filters across macroblocks and macroblock boundaries in an exemplary approach for indirectly deblocking video using spatial filtering.

[0019]FIGS. 13A and 13B illustrate an exemplary approach for indirectly deblocking video using temporal filtering across multiple frames of a GOP.

[0020]FIG. 14 is a flow diagram of an exemplary approach to block-type-dependent filtering under a Moving Pictures Expert Group (MPEG)-compliant compression/coding scheme.

DETAILED DESCRIPTION

[0021] The following discussion is directed to video content processing and delivery systems, such as interactive TV networks, cable/satellite networks that utilize electronic program guides and other applications, and Web-enabled TV networks. Client devices in such systems range from full-resource clients with substantial memory and processing resources, such as TV-enabled personal computers and TV recorders equipped with hard-disks, to low-resource clients with limited memory and/or processing resources, such as traditional set-top boxes and personal digital assistants (PDAs) or mobile phones. However, video deblocking as described herein may additionally be used in other environments such as in streaming (e.g., over the Internet), generally in post-processing of compression and decompression cycles, and so forth. While aspects of the described systems and methods can be used in any of these environments and for any types of client devices, they are described primarily in the context of the following exemplary environment.

Exemplary System Architecture

[0022]FIG. 1 illustrates an exemplary television entertainment system 100 that is an architecture in which video deblocking may be implemented. System 100 facilitates distribution of content and other information to multiple viewers. System 100 includes one or more content providers 102, one or more other information providers 104, a content distribution system 106, and multiple client devices 108(1), 108(2), . . . , 108(N) coupled to content distribution system 106 via a broadcast network 110.

[0023] Content provider 102 includes a content server 112 and stored content 114, such as movies, television programs, commercials, music, and similar audio and/or video content. Content server 112 controls distribution of stored content 114 from content provider 102 to content distribution system 106. Additionally, content server 112 may control distribution of live content (e.g., content that was not previously stored, such as live feeds) and/or content stored at other locations to content distribution system 106.

[0024] Other information provider 104 includes other information database 116 and other information server 118. Other information database 116 stores information that may be provided to client devices 108. Such information includes software modules, files, images, text, executable programs, moving video, gaming or other interactive information, and so forth. The information may also include content, especially content of an irregular, one-of-a-kind, or similar nature, or content from smaller independent providers. Part or all of the information from other information database 116 may ultimately be displayed to subscribers after traversing one or more low-bandwidth transmission mediums, regardless of whether such transmission medium(s) are located upstream or downstream of content distribution system 106. Other information server 118 processes the other information from other information database 116 prior to distribution to generate one or more files that are optimized for, or at least capable of, transmission to content distribution system 106.

[0025] Content distribution system 106 includes a broadcast transmitter 128, one or more content processors 130, and one or more other information processors 132. Broadcast transmitter 128 can alternatively be a transceiver if bi-directional communication is desired (e.g., in situations in which broadcast network 110 is a bi-directional network 110). Broadcast transmitter 128 transmits (e.g., broadcasts) signals, such as cable/satellite television signals, across broadcast network 110. Broadcast network 110 can include a cable television network, RF, microwave, satellite, and/or data network, such as the Internet, and may also include wired or wireless media using any transmission format or protocol. Additionally, broadcast network 110 can be any type of network (including a bi-directional network), using any type of network topology and any network communication protocol, and can be represented or otherwise implemented as a combination of two or more networks.

[0026] Content processor 130 processes the content received from content provider 102 prior to transmitting the content across broadcast network 110. Similarly, other information processor 132 processes the other information that is received from other information provider 104 prior to transmission of the other information across broadcast network 110. A particular content processor 130 may encode, or otherwise process, the received content into a format that is understood by the multiple client devices 108(1), 108(2), . . . , 108(N) that are coupled to broadcast network 110. Although FIG. 1 shows a single content provider 102, a single other information provider 104, and a single content distribution system 106, the exemplary system 100 can include any number of content providers and/or other information providers coupled to any number of content distribution systems. Thus, content distribution system 106, content provider 102, and/or other information provider 104 are individually or jointly representative of a headend service that provides content and other information to multiple subscribers.

[0027] Client devices 108 can be implemented in a number of ways. For example, a client device 108(1) receives content and other information from a satellite-based transmitter via a satellite dish 134. Client device 108(1) is also referred to as a set-top box or a satellite receiving device. Client device 108(1) is coupled to a television 136(1) for presenting the content and other information (e.g., audio information, video information, and/or data information) that are received by the client device 108(1), as well as for presenting a graphical user interface. A particular client device 108 can be coupled to any number of televisions 136 and/or similar devices that can be implemented to display or otherwise render content. Similarly, any number of client devices 108 can be coupled to a single television 136.

[0028] Client device 108(2) is also coupled to receive content and other information from broadcast network 110 and to provide the received content and other information to associated television 136(2). Client device 108(N) is an example of a combination television 138 and integrated set-top box 140. In this example, the various components and functionality of the set-top box are incorporated into the television, rather than using two separate devices. Set-top box 140 that is integrated into television 138 can receive signals (e.g., broadcast signals) via a satellite dish (similar to satellite dish 134) and/or directly via

[0029] broadcast network 110. In alternate implementations, client devices 108 may receive signals via the Internet or any other network, especially those network mediums that are broadcast-capable. As is further described below, client devices 108 may also engage in video deblocking prior to displaying video information (whether content video information or other video information) that is received from a low bandwidth medium, such as a memory storage, other client devices, possibly broadcast network 110 itself, and so forth.

[0030] The exemplary system 100 also includes information from other networks/network providers 142, which may provide information such as information streamed over the Internet, information received directly from a provider of the information, and so forth. Information from other networks/network providers 142 may be accessible over broadcast network 110 (i.e., a network that also provides content information and other information from content distribution system 106). Alternatively, information from other networks/network providers 142 may be accessible over a different network, including a wide area network (WAN), the Internet, a public or private telecommunications network, and so forth.

Exemplary Client Device

[0031]FIG. 2 illustrates an exemplary implementation 200 of a client device 108 shown as a standalone unit that connects to a television 136 and communicates with various input devices 204, 206, and 208. Client device 108 can be implemented in any number of embodiments, including as a set-top box, a satellite receiver, a TV recorder with a hard disk, a digital video record (DVR) and playback system, a game console, an information appliance, and so forth.

[0032] Client device 108 includes a wireless port 202, such as an infrared (IR) or Bluetooth wireless port, for receiving wireless communications from a remote control device 204, a handheld input device 206, or any other wireless device, such as a wireless keyboard. Handheld input device 206 can be a personal digital assistant (PDA), handheld computer, wireless phone, or the like. Additionally, a wired keyboard 208 can be coupled to communicate with client device 108. In alternate embodiments, remote control device 204, handheld device 206, and/or keyboard 208 may use an RF communication link or other mode of transmission to communicate with client device 108.

[0033] Client device 108 receives one or more (e.g., broadcast) signals 210 from one or more broadcast sources, such as from a satellite or a cable or a broadcast network, including a broadcast implementation of network 110 (of FIG. 1). Client device 108 includes hardware and/or software for receiving and decoding a broadcast signal 210, such as an NTSC, PAL, SECAM or other TV system video signal. Client device 108 also includes hardware and/or software for providing the user with a graphical user interface by which the user can, for example, access various network services, configure client device 108, and perform other functions, including requesting video delivery.

[0034] Client device 108 can communicate with other devices via one or more connections including a conventional telephone line 212, an ISDN link 214, a cable link 216, an Ethernet link 218, a DSL link 220, and the like. Client device 108 may use any one or more of the various communication links 212-220 at a particular instant to communicate with any number of other devices. For example, in addition to receiving information over any one of communication links 212-220, client device 108 may provide (e.g., transmit) information over communication links 212-220 or any other type of communication link. Such other communication links may include links capable of interfacing with a local network such as a local area network (LAN), a Bluetooth® network, an IEEE 802.11b-compliant network, or other wired or wireless network type. In such a local network environment, a client device 108 that receives information from broadcast network 110 may forward the information over the local network to one or more other client devices 108. The forwarding may be effectuated, for example, over a lower-bandwidth transmission medium that introduces blockiness.

[0035] Client device 108 generates video signal(s) 222 and audio signal(s) 224, both of which are communicated to television 136. Video signals 222 and audio signals 224 can be communicated from client device 108 to television 136 via an RF (radio frequency) link, S-video link, composite video link, component video link, co-axial cable link, or other communication link. The video signals 222 may include deblocked video signals, for example. Although not shown in FIG. 2, client device 108 may include one or more lights or other indicators identifying the current status of the device. Additionally, the client device may include one or more control buttons, switches, or other selectable controls for controlling operation of the device.

[0036]FIG. 3 illustrates selected components of exemplary client device 108 shown in FIGS. 1 and 2. Client device 108 includes a first tuner 300 and an optional second tuner 302. The tuners 300 and 302 are representative of one or more in-band tuners that tune to various frequencies or channels to receive television signals, as well as at least one out-of-bound (OOB) tuner that tunes to the broadcast channel(s) over which data information is broadcast (e.g., carouseled or otherwise transmitted) to client device 108.

[0037] Client device 108 also includes one or more processors 304 which process various instructions to control the operation of client device 108 and to communicate with other electronic and computing devices. Client device 108 can be implemented with one or more memory components, examples of which include a random access memory (RAM) 306, a disk drive 308, another mass storage component 310, and a non-volatile memory 312 (e.g., ROM, Flash, EPROM, EEPROM, etc.). The memory components (e.g., RAM 306, disk drive 308, mass storage 310, and non-volatile memory 312) store various instructions and/or information such as received content, programs, configuration information for client device 108, graphical user interface information, and/or video data or information.

[0038] Alternative implementations of client device 108 can include a range of processing and memory capabilities, and may include more or fewer types of memory components than those illustrated in FIG. 3. For example, full-resource clients can be implemented with substantial memory and processing resources, including the disk drive 308 to store content for replay by the viewer. Low-resource clients, however, may have limited processing and memory capabilities, such as a limited amount of RAM 306, no disk drive 308, and limited processing capabilities of a processor 304.

[0039] An operating system 314 and one or more programs as represented by general instructions 316 may be stored in non-volatile memory 312 (and/or other memory component(s)) and executed on processor 304 to provide a runtime environment. A runtime environment facilitates extensibility of client device 108 by allowing various interfaces to be defined that, in turn, allow the programs to interact with client device 108. Although these programs may be installed when client device 108 is manufactured, they may also be received via broadcast network 110 from content distribution system 106 (of FIG. 1). Also stored in non-volatile memory 312 (and/or other memory component(s)) are electronically-executable instructions for video deblocking 318, as described further herein.

[0040] Client device 108 also includes a decoder 320 to decode a broadcast video signal, such as an NTSC, PAL, SECAM or other TV system video signal. Processor 304, along with tuner(s) 300 and 302 and/or decoder 320, also enables client device 108 to reconstruct audio and video from an MPEG-2 stream or other digital packet signal, whether compressed or uncompressed. Client device 108 can also include other components pertaining to a television entertainment system which are not illustrated in this example. For instance, client device 108 can include a user interface application and user interface lights, buttons, controls, and the like to facilitate viewer interaction with the device.

[0041] Client device 108 further includes a wireless interface 322, a network interface 324, a serial and/or parallel interface 326, and a modem 328. Wireless interface 322 allows client device 108 to receive input commands and other information from a user-operated input device, such as from a remote control device or from another IR, Bluetooth, or similar RF input device. Network interface 324 and serial and/or parallel interface 326 allows client device 108 to interact and communicate with other electronic and computing devices via various communication links, including local network communication links to other client devices 108. Although not shown, client device 108 may also include other types of data communication interfaces to communicate with other devices. Modem 328 facilitates communication by client device 108 with other electronic and computing devices via a conventional telephone line.

[0042] Client device 108 also includes an audio output 330 and a video output 332 that provide signals to a television or other device that processes and/or displays or otherwise renders the audio and video information, including deblocked video information. Although shown separately, some of the components of client device 108 may be implemented together in an application specific integrated circuit (ASIC). For example, electronically-executable instructions (318) and associated processing abilities for video deblocking may be integrated together onto one or more ASICs instead of using more-general memory (e.g., 306, 312, etc.) and/or processing (e.g., 304, 320, etc.) resources of a client device (108).

[0043] Additionally, a system bus (not shown) typically connects the various components within client device 108. A system bus can be implemented as one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, or a local bus using any of a variety of bus architectures. By way of example, such architectures can include an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnects (PCI) bus also known as a Mezzanine bus.

Video Deblocking

[0044] Video information is often compressed or otherwise coded to facilitate the handling thereof. The coding of the video information into video data can reduce the bandwidth required to display, store, transmit, or otherwise manipulate the video information. For example, it can be beneficial to reduce the bit rate of video information for storing a video stream to disk or streaming it over a noisy, bandwidth-limited channel. However, compression and decompression of the video information typically causes visual artifacts that degrade the visual quality. One artifact that degrades visual quality is blockiness. In other words, low bit rate video information is often plagued with blockiness that seriously degrades visual quality. Video deblocking, on the other hand, usually entails reducing such blocky artifacts to enhance the visual presentation quality of the video information. Implementing a good deblocking mechanism helps to mitigate the deleterious byproducts of a lower bit rate video stream and thereby justifies using a lower bit rate that enables the aforementioned low-bandwidth applications.

[0045] Deblocking is implemented after previously encoded video data is decoded into at least a semblance of the original video information. One set of coding standards that may be used on the original video information are Moving Picture Expert Group (MPEG)-compliant standards. MPEG-based encoding/decoding algorithms involve performing a discrete cosine transform (DCT) on original video information and quantizing the DCT coefficients thereof. The resulting video data is de-quantized and an inverse DCT is performed to reacquire at least a semblance of the original video information. Reducing the bit rate of the video data stream may be achieved by more coarsely quantizing the DCT coefficients. In doing so, however, blockiness that is introduced along macroblock boundaries tends to seriously degrade the visual quality. The visual presentation quality may be at least partially restored by using deblocking during post-processing. Specifically, the deblocking may be used to reduce the blockiness around macroblock boundaries.

[0046]FIG. 4 is a set of graphs 400 that illustrate an exemplary discontinuity and smoothing thereof. Graphs 400 include graphs 400A, 400B, 400C, and 400D. Each of graphs 400A-400D includes two macroblocks of a video picture. Although the macroblocks are shown as being rectangular, actual macroblocks may instead be square. Graph 400A illustrates original video information 402 (as a solid line). There is no break in original video information 402 between the left macroblock and the right macroblock.

[0047] Graph 400B illustrates original video information 402 and adds thereto an illustration of discontinuity 404 (as a large dashed line). Discontinuity 404 represents an exemplary discontinuity or break in the seamlessness of original video information 402. This discontinuity arises at the macroblock boundary of the left and right macroblocks as a result of the encoding/decoding process. Discontinuity 404 may be visible as a blocky artifact. In fact, discontinuity 404 along with other discontinuities in the overall picture may be visible as a blockiness that reduces the overall visual quality.

[0048] Graph 400C illustrates original video information 402 and adds thereto an illustration of smoothed video information 406 (as a small dashed line). Smoothed video information 406 results from application of video deblocking to discontinuity 404. While smoothed video information 406 is not likely to be an exact replica of original video information 402, smoothed video information 406 reduces the blocky artifact of discontinuity 404 and generally more-closely approximates original video information 402. It should be noted that smoothed video information 406 is representative of deblocking mechanisms/approaches in general, including visual adjustment, filter smoothing, spatial-temporal filtering, and so forth.

[0049] Graph 400D includes original video information 402, discontinuity 404, and smoothed video information 406. All three are included together to illustrate (i) the discontinuity that may be formed from coarse quantization of original video information or other deleterious coding/decoding factors and (ii) the resulting video information after the discontinuity has been smoothed in post-processing. This post-processing video deblocking is described further herein.

[0050] Specifically, the description herein focuses on deblocking in an MPEG-based environment in which discontinuities appear at macroblock boundaries. However, deblocking may be employed after decompression/decoding in accordance with other standards and approaches and along other boundaries. It should therefore be understood that deblocking may be employed with video data/information in general and regardless of the size/type of blocks that are employed to segregate the video picture.

[0051] Although the term “discontinuity” is used herein, other such terms include “edge” and “boundary”. An edge, boundary, or discontinuity in a video picture may be “artificial” or “real”. Artificial discontinuities arise, for example, from coarse quantization of DCT coefficients. Other terms for artificial discontinuities include, but are not limited to, quantization discontinuities, false discontinuities, fake discontinuities, and quantization noise discontinuities. Real discontinuities, on the other hand, arise from true boundaries in a video picture from one element to another element within the picture. Other terms for real discontinuities include, but are not limited to, actual discontinuities, true discontinuities, and natural discontinuities. These real discontinuities may also lie along a macroblock boundary. Consequently, if smoothing is performed on all discontinuities at all macroblock boundaries, some real discontinuities will be smoothed. This causes the picture to be fuzzy and less distinct. However, if discontinuities at macroblock boundaries can be separated into real discontinuities and artificial discontinuities, then smoothing may be performed on the artificial discontinuities.

Methods for Video Deblocking

[0052] Video deblocking may be described in the general context of electronically-executable instructions. Generally, electronically-executable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular abstract data types. Video deblocking may also be practiced in distributed computing environments where functions are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, electronically-executable instructions may be located in both local and remote storage media.

[0053] The methods and processes of FIGS. 5, 6, and 14 are illustrated in flow diagrams divided into multiple blocks. However, the order in which the methods and processes are described is not intended to be construed as a limitation, and any number of the described blocks can be combined in any order to implement one or more methods or processes for video deblocking. Furthermore, although the methods and processes are described below with reference to the television entertainment environments 100 and 200 and client devices 108 where applicable, the methods and processes can be implemented in any suitable hardware, software, firmware, or combination thereof and using any suitable mathematical alternatives.

[0054]FIG. 5 is a flow diagram 500 that illustrates an exemplary method for video deblocking. Flow diagram 500 includes blocks 502, 504, and 506 that may be implemented, for instance, by client devices 108 (of FIGS. 1-3). Blocks 502, 504, and 506 may correspond to electronically-executable instructions that are stored in one or more memories of a client device 108 and executed using one or more processors thereof. At block 502, a discontinuity is detected. For example, macroblock boundaries are analyzed to detect whether a discontinuity exists for video information between a first macroblock boundary and a second macroblock boundary. An exemplary window around a macroblock boundary for such an analysis is described further below with reference to FIG. 7.

[0055] At block 504, the discontinuity is examined to determine whether it is a real discontinuity or an artificial discontinuity. Real edges of actual picture elements may fall on a macroblock boundary, but smoothing real edges usually decreases video presentation quality. Exemplary mechanisms for differentiating between real discontinuities and artificial discontinuities are described further below especially with reference to FIGS. 8 and 9.

[0056] At block 506, the artificial discontinuity or discontinuities are smoothed. The smoothing of the artificial discontinuities reduces visually-apparent blockiness. It should be understood that smoothing may encompass a variety of mechanisms/approaches designed to reduce or eliminate the visibility of discontinuities. Exemplary mechanisms for smoothing artificial discontinuities are described further below especially with reference to FIGS. 10 et seq.

[0057] Flow diagram 500 is directed to both direct deblocking and indirect deblocking. Direct deblocking of video is described especially with reference to FIGS. 6-10. Indirect deblocking of video is described especially with reference to FIGS. 11A-13B. The description of FIG. 14 below is directed to a video deblocking approach that utilizes both direct and indirect deblocking mechanisms.

[0058]FIG. 6 is a flow diagram 600 that illustrates an exemplary process for directly deblocking video. Flow diagram 600 includes six (6) blocks 602-612. Blocks 602 and 604 pertain to input data for the process of flow diagram 600. Block 602 provides the scaled quantization matrix that was used to quantize the original video information during the coding/compressing process. This scaled quantization matrix of block 602 may be related to, for example, the “quant_matrix” parameter of MPEG-compliant coding schemes. The quant_matrix is determined by the encoder and encoded into the bit stream. A scaled quant matrix may be created as the product of the quant matrix and the quantization scale, which is another parameter that is encoded into the bit stream by the encoder. Block 604 provides the image that is formed from the decoded video information. As such, the image may include artificial discontinuities (e.g., at macroblock boundaries) and real discontinuities (e.g., either at or away from macroblock boundaries). The artificial discontinuities at the macroblock boundaries can arise from noise attributable to the quantization matrix during the quantization process.

[0059] The scaled quantization matrix of block 602 and the image video information of block 604 are submitted to block 606. Block 606 performs a Laplacian of Gaussian (LoG) operation on each of the scaled quantization matrix of block 602 and the image video information of block 604 to produce two different results. The LoG operation may be defined as convolving the argument with the LoG kernel. From the two different results of applying the LoG operation, the type of discontinuity is determined at block 608. For example, the type of discontinuity (if any) at the macroblock boundary under consideration is determined by comparing the result of the LoG operation as performed on the image of block 604 with a (quantization) threshold determined responsive to the result of the LoG operation as performed on the scaled quantization matrix of block 602. The LoG operation of block 606 and the discontinuity type determination of block 608 are described further below especially with reference to FIGS. 8 and 9.

[0060] If the discontinuity at the macroblock boundary is determined to be a real discontinuity (at block 608), block 610 may optionally perform a visual adjustment procedure at the macroblock boundary. An exemplary visual adjustment procedure is described further below especially with reference to FIG. 10. If, on the other hand, the discontinuity at the macroblock boundary is determined to be an artificial discontinuity (at block 608), block 612 performs a filter smoothing procedure at the macroblock boundary. An exemplary filter smoothing procedure is described further below primarily after the description of FIG. 10.

[0061]FIG. 7 illustrates an exemplary window 702 for deblocking analysis around a macroblock boundary 706. Two macroblocks 708L and 708R are illustrated. Each macroblock 708 is surrounded by four (4) macroblock boundaries 706. Within each macroblock 708 are a set of pixels. Although macroblocks 708 are shown as being blocks of eight-by-eight (8×8) pixels, they may alternatively be blocks of 16×16 pixels, 24×24 pixels, 30×30 pixels, or any other size. Because the illustrated macroblocks are of an eight-by-eight (8×8) size, window 702 includes sixteen (16) pixels to be analyzed for possible discontinuities at the macroblock boundary 706 that window 702 surrounds. However, the width of window 702 may alternatively be greater than two pixels (i.e., the width can be more than one pixel within each macroblock 708).

[0062] Window 702 is located between the left macroblock 708L and the right macroblock 708R. Similar “vertical” windows 702 are used at the other “vertical” macroblock boundaries 706. Furthermore, “horizontal” windows (not shown) are used at macroblock boundaries between upper macroblocks and adjacent lower macroblocks. In other words, to address a two-dimensional (2-D) image, video deblocking is performed in both the vertical direction and the horizontal direction.

[0063] To detect a discontinuity within a window 702, the following algorithm may be employed: Let Q represent the quantization matrix used in quantizing an image I. Because quantization is usually performed in the DCT domain, the effect of using Q in the time domain is first determined. Thus, an inverse DCT is performed on Q to generate Q_(t). Next, the discontinuities (e.g., edges, boundaries, etc.) are detected in the image I. Any such discontinuities may be detected using QO the Laplacian of Gaussian (LoG) operator to filter I and generate I_(LG). The LoG operator may be considered a concatenation of the Laplacian operator, which is given by: ${L\left( {x,y} \right)} = {{\nabla^{2}{f\left( {x,y} \right)}} = {\frac{\partial^{2}{f\left( {x,y} \right)}}{\partial x^{2}} + \frac{\partial^{2}{f\left( {x,y} \right)}}{\partial y^{2}}}}$

[0064] and the Gaussian operator, which is given by: ${G\left( {x,y} \right)} = {\frac{1}{2\pi}^{\frac{1}{2\sigma^{2}}{({x^{2} + y^{2}})}}}$

[0065] thereby yielding: ${{LoG}\left( {x,y} \right)} = {{- {\frac{1}{{\pi\sigma}^{4}}\left\lbrack {1 - \frac{x^{2} + y^{2}}{2\sigma^{2}}} \right\rbrack}}{^{- \frac{x^{2} + y^{2}}{2\sigma^{2}}}.}}$

[0066] The filtered image is therefore given by:

I _(LG)=LoG*I.

[0067]FIG. 8 illustrates an exemplary Laplacian of Gaussian (LoG) operation 800 in diagrammatic form. An image 802 is filtered using LoG operation 804 to produce an edge-biased image 806. After applying the LoG operation to image I, discontinuities (e.g., edges) can be detected in each window 702 surrounding every analyzed macroblock boundary 706. However, it is still to be determined whether each discontinuity in each window 702 is a real discontinuity (e.g., from an edge of an image element) or an artificial discontinuity (e.g., from quantization or other deleterious compression/decompression factors). The LoG operation detects both kinds of discontinuities, but it does not clearly differentiate between them by itself.

[0068] A variable that may be termed “quant_threshold” is created to determine which discontinuities are artificial. The amount of blockiness attributable to quantization noise is effectively assessed. In order to assess the amount of blockiness attributable to quantization, the time-domain quantization matrix divided by two (Q_(t)/2) is passed through the LoG filter to obtain Q_(tLG). The quantization matrix Q_(t) is divided by 2 because half the quantization matrix Q_(t) represents the actual loss of data due to round-off/truncation. After obtaining Q_(tLG) from passing (Q_(t)/2) through the LoG filter, the maximum and minimum values of Q_(tLG) are examined to determine the quant_threshold.

[0069]FIG. 9 is a graph 900 that illustrates exemplary values Q_(tLG) resulting from a LoG operation on a time-domain quantization matrix Q_(t). Thus, a plot 902 graphs different quantization matrix values (along the abscissa axis) versus corresponding LoG operation output values Q_(tLG) (along the ordinate axis). Maximum absolute values for the Q_(tLG) values are denoted as one hundred percent (100%). Any portion of the 100% value may be selected as the threshold between real discontinuities and artificial discontinuities. The threshold may be selected, for example, such that the majority of the visually displeasing artificial discontinuities are subject to smoothing while few if any of the real discontinuities are subject to smoothing (therein mitigating “fuzzying” of the original image). An optimum value for the threshold for any given type of video information may be selected through experimental viewing of deblocked video. In the illustrated graph 900, eighty-five percent (85%) is selected as the threshold between real discontinuities and artificial discontinuities. Furthermore, this threshold may be tunable subject to user/viewer preferences.

[0070] After the threshold between real discontinuities and artificial discontinuities is selected, the threshold is used in conjunction with an analysis of macroblock boundaries 706 in windows 702. The analysis is focused in windows 702 because blockiness that is due to quantization noise is centered on macroblock boundaries 706. The values of I_(LG) are compared to the threshold within each window 702. If more than a certain fraction, η, of the I_(LG) values in a window 702 are above the selected threshold, then that discontinuity is labeled as a real discontinuity. If not, then that discontinuity is labeled as an artificial discontinuity. The fraction, η, may also be selected experimentally, for example by viewing different types of video that has been deblocked using different values for the fraction, η, until a visually-appealing value is selected. The parameter, η, may be experimentally determined and fine tuned to maximize visual quality.

[0071] After discontinuities have been (i) detected and (ii) determined to be (and “labeled” as) either real discontinuities or artificial discontinuities, appropriate deblocking procedures can be implemented. As described above with reference to blocks 608, 610, and 612 (of FIG. 6), real discontinuities may be subjected to a visual adjustment procedure, and artificial discontinuities may be subjected to a filter smoothing procedure. In an exemplary visual adjustment procedure, pixel values are adjusted slightly by moving them towards each other by an amount proportional to the threshold so as to reduce the effects of quantization.

[0072]FIG. 10 illustrates pixels 704 around a macroblock boundary 706 for an exemplary visual adjustment procedure. Eight (8) adjacent pixels 704 from p0 to p7 are divided by the macroblock boundary 706 that is between left macroblock 708L and right macroblock 708R. Pixels p0, p1, p2, and p3 are in left macroblock 708L. Pixels p4, p5, p6, and p7 are in right macroblock 708R. The values of the pixels p0 to p7 are adjusted slightly by moving them towards each other by an amount proportional to the selected threshold so as to reduce the effects of quantization. This adjustment is performed recursively to the adjacent pixels.

[0073] The exemplary visual adjustment procedure for real discontinuities, when performed, may be effectuated as follows: Let p=[p₀p₁ . . . p₇] represent the pixels 704 around a macroblock boundary 706 as illustrated in FIG. 10. The following series of operations are performed: $d = {\min \left( {\frac{p_{3} - p_{4}}{2},{quant\_ threshold}} \right)}$ p₃^(′) = p₃ − d p₄^(′) = p₄ + d $p_{2}^{\prime} = \frac{p_{2} + p_{3}^{\prime}}{2}$ $p_{5}^{\prime} = {\frac{p_{5} + p_{4}^{\prime}}{2}\quad \cdots}$

[0074] where decoded, time-domain pixels are designated by “p” (p without the prime) and the adjusted pixels are represented by “p′” (p with the prime).

[0075] If, on the other hand, a detected discontinuity has been determined to be, and “labeled” as, an artificial discontinuity, then a filter smoothing procedure is performed. In an exemplary filter smoothing procedure, pixels 704 (of FIG. 7) of a window 702 are filtered around boundary 706 with a smoothing filter. In other words, a pixel array, p, is filtered with a smoothing filter such as stretched and/or scaled version(s) of the Gaussian or tent filter. An example of a Gaussian/tent filter is: ${{G\lbrack n\rbrack} = {\frac{1}{2\pi}^{{- \frac{1}{2\sigma^{2}}}n^{2}}}}\quad$ ${T\lbrack n\rbrack} = \left\{ \begin{matrix} {1 - {\frac{n}{5}}} & {{- 5} \leq n \leq 5} \\ {0\quad} & {otherwise} \end{matrix} \right.$

[0076] In general, any smoothing filter can be used with the degree of smoothing set to accommodate the desired amount of blurring.

[0077] In the second approach to video deblocking, a less rigid and more indirect mechanism is used to detect discontinuities, to differentiate between real and artificial discontinuities, and to smooth the detected discontinuities. This second mechanism includes both spatial and temporal aspects. In a spatial aspect, the mechanism entails associating an increased likelihood of needing deblocking (e.g., of a discontinuity being an artificial discontinuity) with increased proximity to a macroblock boundary. In a temporal aspect, the mechanism entails associating the likelihood of blockiness at a macroblock boundary to the position of the picture within a GOP. For example, it is assumed that an I-frame of the GOP is more susceptible to blockiness at the macroblock boundary. On the other hand, a B-frame downstream in the GOP is less likely to experience blockiness at the macroblock boundary.

[0078]FIGS. 11A, 11B, and 11C are exemplary diagrams 1100 of a portion of video information that is presented across multiple frames of a GOP. In an MPEG-compliant coding scheme, frames are organized into GOPs that start with an intra (I) frame and are followed by predicted (P) frames and bidirectional (B) frames/modes. I-frames are usually more susceptible to blockiness at macroblock boundaries than those frames that are downstream in the GOP as is explained by the description of the diagrams 1100A-C. Specifically, diagram 1100A represents an intra-frame with many macroblocks 708 and macroblock boundaries 706.

[0079] Diagrams 1100B and 1100C represent non-intra frames. Each non-intra block in non-intra frames includes two components: the predicted term and the difference term. Typically, the predicted term dominates, and the difference term is relatively small. Because the predicted term is usually not macroblock aligned in the reference frame (as shown in diagram 1100B), any macroblocking effects in the reference frame are seen in the interior of the reconstructed macroblock in the current frame. Moreover, as this effect occurs over several generations of prediction, the magnitude and location of blockiness tends to be diffused (as shown in diagram 1100C). In other words, downstream in a GOP, images tend to be both less crisp as well as less blocky. Thus, the position of a frame in a GOP, or GOP position number (GPN), tends to serve as an indicator of the extent of blockiness. This tendency is reflected in the temporal aspect of the second mechanism. Similarly, for the spatial aspect of the second mechanism, the extent of quantization-caused blockiness tends to increase as pixel location approaches a macroblock boundary.

[0080] The second mechanism thus involves filtering the image with a spatio-temporally varying filter. The degree of filtering increases for pixels near macroblock boundaries and decreases for pixels away from macroblock boundaries. This spatial filtering is described further below with reference to FIG. 12. Also, the degree of filtering is higher at the beginning of a GOP while the degree of filtering decreases downstream in the GOP. This temporal filtering is described further below with reference to FIGS. 13A and 13B. Combining the spatial filtering with the temporal filtering creates a spatio-temporally varying filter that indirectly detects discontinuities, differentiates between discontinuity types, and smooths the detected discontinuities.

[0081]FIG. 12 is a graph 1200 that illustrates filters 1202 across macroblocks 708 and macroblock boundaries 706 in an exemplary approach for indirectly deblocking video using spatial filtering. Filters 1202 include three (3) different filtering zones labeled zone #1, zone #2, and zone #3. While each of the three different filtering zones may have filters of similar or identical energy levels (to avoid changing image intensity), each of the filters of the three different filtering zones filters pixels of the macroblocks 708 differently. Filtering zone #1 filters to the greatest degree in an area around macroblock boundaries 706. Filtering zone #3 filters the least in an area around the center of macroblocks 708. Filters of filtering zones #3 may be implemented as an impulse function so that the pixels are changed very slightly or not at all. The centers of macroblocks 708 are the least likely to exhibit blockiness due to quantization noise. Located spatially between the filtering zones #1 and #3 are filtering zones #2. The filters of filtering zones #2 filter the corresponding physically-intermediate pixels to a degree that is also intermediate to that of the filters of filtering zones #1 and #3.

[0082] Using multiple filtering zones, the pixels may be averaged, for example, to a greater extent near macroblock boundaries and to gradually lesser extents for pixels that are gradually nearer the middle of macroblocks. Although filter 1202 includes an exemplary three filtering zones, four or more or less than three filtering zones may alternatively be employed. An example of a suitable spatial filter is: ${G_{\sigma}\lbrack n\rbrack} = {\frac{1}{2\pi}^{{- \frac{1}{2\sigma^{2}}}n^{2}}}$

[0083] where we can distinguish the various zones on the basis of the chosen value for σ, for instance, as:

[0084] Zone 1: σ=1;

[0085] Zone 2: σ=0.707; and

[0086] Zone 3: σ=0.5.

[0087] Furthermore, the filters can be normalized in order to achieve a gain of 1 (or any desired value). Such spatial filtering thus concentrates filtering near macroblock boundaries and away from the center of macroblocks. Using a spatial filter designed accordingly effectively tends to indirectly filter blockiness due to quantization noise.

[0088]FIGS. 13A and 13B illustrate an exemplary approach for indirectly deblocking video using temporal filtering across multiple frames of a GOP. The extent of spatial filtering that is necessary and/or desirable around macroblock boundaries tends to decrease as frame position number proceeds through a GOP, as is explained above with reference to FIGS. 11A-11C. Chart 1300A illustrates a GOP and exemplary temporal filtering coefficients designated as α. The GOP position number (GPN) runs from 1 to n, where n may be any natural number, but is often set to fifteen (15). The MPEG frames are designated by I, B, or P in an exemplary sequence that runs: I, B, B, B, P, B, B, B, P, B, B, B, P, B, B. Other sequences may alternatively be used. Three different sets of temporal filtering coefficients α are included and are designated as α1, α2, and α3.

[0089] The temporal filtering coefficient a may be applied to the spatial filtering as described above with reference to FIG. 12. The temporal filtering coefficient α serves to reduce the filtering by, and therefore the impact of, the spatial filter 1202 as frames progress downward through the GOP. Consequently, each α may be determined responsive to the GPN of the frame under consideration. Table 1300B provides a general GPN-dependent formula for determining an α for each of the three temporal filtering coefficient α examples. Each of the α examples decrease in value as the GPN increases to reduce the impact of the spatial filter. The rapidity at which each α decreases in value as the GPN increases from 1 to n scales from a low with α1 to a high with α3. Besides the formulas provided in table 1300B, other formulas for determining α may alternatively be employed. Such other formulas, or even other sets of α values that are not necessarily formulaic, need not use an actual GPN numeral to set the α.

[0090] The temporally varying parameter, α, may be used to vary the degree of filtering using, for example, the following approach: ${G_{\sigma}\left\lbrack {\alpha,n} \right\rbrack} = {{K \cdot \frac{1}{2\pi}}^{{- \frac{1}{2{({\alpha\sigma})}^{2}}}n^{2}}}$

[0091] where the number K is chosen to normalize the energy in the filter. Also, if the filtering ability of the spatial filter 1202 is inversely proportional to α, then the α formula may be set up so as to increase with increasing GPN.

[0092] An application of the α formulas of table 1300B are provided under the appropriate GPNs of chart 1300A. For example, given an n=15, α1 is the set of numbers {1, {fraction (14/15)}, {fraction (13/15)}, {fraction (12/15)}, {fraction (11/15)}, . . . , {fraction (2/15)}, {fraction (1/15)}}; α2 is the set of numbers {1½, ⅓, ¼, ⅕, . . . , {fraction (1/14)}, {fraction (1/15)}}; and α3 is the set of numbers {1¼, {fraction (1/9)}, {fraction (1/16)}, {fraction (1/25)}, . . . , {fraction (1/196)}, {fraction (1/225)}}. An α formula or set of values that results in visually-pleasing video may be determined experimentally for any given type of video information. Use of the temporal filtering coefficient α as a modifier to a spatial filter 1202 enables application of a spatio-temporally varying filter that indirectly detects, differentiates between types of, and smoothes discontinuities.

[0093]FIG. 14 is a flow diagram 1400 of an exemplary approach to block-type-dependent filtering under an MPEG-compliant compression/coding scheme. The second mechanism, as described above with particular reference to FIGS. 11A-13B, may be applied to all frames of a GOP. Alternatively, the approach of flow diagram 1400 may be employed in which the video deblocking mechanism that is being applied depends on the frame/block type. Flow diagram 1400 is described in terms of blocks such as macroblocks, but it may instead be implemented on a frame-only basis. More generally, blocks, frames, macroblocks, etc. may be considered units of an image.

[0094] As noted above especially in the descriptions of FIGS. 11A-11C and 13A, each MPEG GOP starts with an I-frame. This I-frame has relatively hard and certain macroblock boundaries. Non-I-frames (e.g., B-frames and P-frames), on the other hand, may have discontinuities that are not macroblock aligned in the current frame. To handle this difference, the first mechanism (which is more direct) may be applied to I-frames while the second mechanism (which is more indirect) may be applied to non-I-frames. Thus, the deblocking under such a scheme is frame-type-dependent. Under MPEG coding, however, individual macroblocks in a non-I-frame may be equivalent to an I-frame. In other words, some blocks in P-frames and B-frames are unpredicted, have no inherent discontinuity blurring, and are macroblock aligned in the current frame. These I-blocks in P-frames and B-frames can thus be treated using the more direct first mechanism.

[0095] Accordingly, a determination as to which mechanism is to be used under an MPEG-compliant coding scheme may be block-type-dependent. In flow diagram 1400, a flow diagram block 1402 determines whether a block under consideration is (i) an intra block or (ii) a predicted or a bi-directional block. For example, prior to actual smoothing, each macroblock of a frame of video information may be analyzed to determine whether it is an I-block or a P-block/B-block. If it is determined to be an I-block, then a visual adjustment procedure or a filter smoothing procedure is implemented at flow diagram block 1404. Whether a visual adjustment procedure or a filter smoothing procedure is implemented is dependent on discontinuity type. As described further above with reference especially to FIGS. 6-10, the visual adjustment procedure is applied to real discontinuities and the filter smoothing procedure is applied to artificial discontinuities.

[0096] If, on the other hand, the block under consideration is determined to be a P-block or a B-block (e.g., a non-I-block), then a spatio-temporally varying filtering procedure is implemented for the block under consideration at flow diagram block 1406. The extent of filtering for any given pixel or set of pixels is dependent on the spatial position of the pixel or pixels within the block. The extent of filtering for the given pixel or set of pixels is also dependent on the temporal-based GPN of the frame of which the block forms a part. Such a spafio-temporally varying filtering procedure is described further above with reference especially to FIGS. 11A-13B. In manners in accordance with flow diagram 1400, the different types of MPEG frames or blocks may therefore be handled using different deblocking mechanisms.

Conclusion

[0097] Although systems and methods have been described in language specific to structural features and/or methods, it is to be understood that the invention defined in the appended claims is not necessarily limited to the specific features or methods described. Rather, the specific features and methods are disclosed as exemplary forms of implementing the claimed invention. 

1. A method for deblocking video, comprising: detecting one or more discontinuities in proximity to block boundaries of an image; determining whether any of the one or more discontinuities are artificial discontinuities using the image and a quantization matrix; and smoothing the one or more discontinuities that are determined to be artificial discontinuities from the action of determining.
 2. The method as recited in claim 1, wherein the action of detecting one or more discontinuities in proximity to block boundaries of an image comprises: detecting the one or more discontinuities in proximity to the block boundaries of the image by applying a Laplacian of Gaussian (LoG) operation on the image.
 3. The method as recited in claim 1, wherein the action of determining whether any of the one or more discontinuities are artificial discontinuities using the image and a quantization matrix comprises: determining whether any of the one or more discontinuities are artificial discontinuities using the image and a scaled quantization matrix.
 4. The method as recited in claim 1, wherein the action of detecting one or more discontinuities in proximity to block boundaries of an image comprises: detecting the one or more discontinuities in proximity to the block boundaries of the image by applying a Laplacian of Gaussian (LoG) operation on the image to produce a plurality of LoG image values; and wherein the action of determining whether any of the one or more discontinuities are artificial discontinuities using the image and a quantization matrix comprises: applying the LoG operation on the quantization matrix to produce a plurality of LoG quantization matrix values; determining a threshold responsive to the plurality of LoG quantization matrix values; comparing at least a subset of the plurality of LoG image values to the threshold; and labeling a discontinuity of the one or more discontinuities as an artificial discontinuity if a number of the at least a subset of the plurality of LoG image values that are greater than the threshold is not greater than a predetermined fraction.
 5. The method as recited in claim 1, wherein the action of smoothing the one or more discontinuities that are determined to be artificial discontinuities from the action of determining comprises: filtering the artificial discontinuities using at least one of a Gaussian filter and a tent filter.
 6. The method as recited in claim 1, wherein the actions of detecting, determining, and smoothing are performed by a client device of a television-based entertainment environment.
 7. The method as recited in claim 1, wherein the actions of detecting and determining are performed with respect to windows of a predetermined pixel width that surround the block boundaries of the image.
 8. The method as recited in claim 1, further comprising: determining whether any of the one or more discontinuities are real discontinuities using the image and the quantization matrix; and smoothing the one or more discontinuities that are determined to be real discontinuities.
 9. The method as recited in claim 8, wherein the action of detecting one or more discontinuities in proximity to block boundaries of an image comprises: detecting the one or more discontinuities in proximity to the block boundaries of the image by applying a Laplacian of Gaussian (LoG) operation on the image to produce a plurality of LoG image values; and wherein the action of determining whether any of the one or more discontinuities are real discontinuities using the image and the quantization matrix comprises: applying the LoG operation on the quantization matrix to produce a plurality of LoG quantization matrix values; determining a threshold responsive to the plurality of LoG quantization matrix values; comparing at least a subset of the plurality of LoG image values to the threshold; and labeling a discontinuity of the one or more discontinuities as a real discontinuity if a number of the at least a subset of the plurality of LoG image values that are greater than the threshold is greater than a predetermined fraction.
 10. The method as recited in claim 8, wherein the action of smoothing the one or more discontinuities that are determined to be real discontinuities comprises: visually adjusting the real discontinuities by moving pixel values toward each other.
 11. A method for providing video deblocking, comprising: applying a Laplacian of Gaussian (LoG) operation on an image to produce a first plurality of values, the image being previously encoded using a quantization matrix; applying the LoG operation on the quantization matrix to produce a second plurality of values; determining a threshold responsive to the second plurality of values; comparing at least a portion of the first plurality of values to the threshold; ascertaining a number of the at least a portion of the first plurality of values that exceed the threshold; and if the number is less than a predetermined fraction, then labeling a discontinuity that is associated with the at least a portion of the first plurality of values as an artificial discontinuity.
 12. The method as recited in claim 11, further comprising: if the number is greater than the predetermined fraction, then labeling the discontinuity that is associated with the at least a portion of the first plurality of values as a real discontinuity.
 13. The method as recited in claim 12, further comprising: performing a visual adjustment procedure on the real discontinuity.
 14. The method as recited in claim 11, wherein the at least a portion of the first plurality of values corresponds to pixels of the image that are proximate to at least one macroblock boundary.
 15. The method as recited in claim 11, wherein the quantization matrix comprises a scaled quantization matrix.
 16. The method as recited in claim 11, wherein the action of determining a threshold responsive to the second plurality of values comprises: selecting a percentage of an absolute maximum value of the second plurality of values as the threshold.
 17. The method as recited in claim 11, further comprising: performing a filter smoothing procedure on the artificial discontinuity.
 18. One or more electronically-accessible media comprising electronically-executable instructions that, when executed, direct an electronic device to perform the method as recited in claim
 11. 19. An arrangement capable of deblocking video, comprising: detecting means for detecting one or more discontinuities at macroblock boundaries of a video image; determining means for determining whether the one or more discontinuities include one or more artificial discontinuities and whether the one or more discontinuities include one or more real discontinuities; and smoothing means for smoothing the one or more discontinuities in dependence on whether each discontinuity of the one or more discontinuities comprises an artificial discontinuity or a real discontinuity.
 20. The arrangement as recited in claim 19, wherein the arrangement comprises a client device of a television-based entertainment environment.
 21. The arrangement as recited in claim 19, wherein the detecting means utilizes a Laplacian of Gaussian (LoG) operation on the video image and the determining means utilizes the LoG operation on a quantization matrix.
 22. The arrangement as recited in claim 21, wherein the determining means includes selecting means for selecting a discontinuity threshold from a plurality of results of the LoG operation on the quantization matrix.
 23. The arrangement as recited in claim 21, wherein the quantization matrix comprises a scaled quantization matrix.
 24. The arrangement as recited in claim 19, wherein the smoothing means includes visual adjustment means for visually adjusting each discontinuity that comprises a real discontinuity and filter smoothing means for filter smoothing each discontinuity that comprises an artificial discontinuity with at least one smoothing filter.
 25. The arrangement as recited in claim 24, wherein the at least one smoothing filter comprises at least one of a tent filter and a Gaussian filter.
 26. A client device for a television-based entertainment environment, the client device configured to perform actions comprising: detecting one or more discontinuities at macroblock boundaries of a video image; determining whether the one or more discontinuities include one or more artificial discontinuities and whether the one or more discontinuities include one or more real discontinuities; smoothing the one or more artificial discontinuities using a filter smoothing procedure; and smoothing the one or more real discontinuities using a visual adjustment procedure.
 27. The client device as recited in claim 26, wherein the client device is further configured to detect the one or more discontinuities by applying a Laplacian of Gaussian (LoG) operation on the video image.
 28. The client device as recited in claim 26, wherein the client device is further configured to determine whether the one or more discontinuities include one or more artificial discontinuities and whether the one or more discontinuities include one or more real discontinuities using a Laplacian of Gaussian (LoG) operation on a quantization matrix.
 29. One or more electronically-accessible media comprising instructions that, when executed, direct an electronic device to: detect one or more discontinuities in proximity to block boundaries of an image, the image having been previously quantized using a quantization matrix; determine whether any of the one or more discontinuities are artificial discontinuities using the image and the quantization matrix; and smooth the one or more discontinuities that are determined to be artificial discontinuities using a filter smoothing procedure; wherein the instructions for the detection and the determination entail performing at least one Laplacian of Gaussian (LoG) operation.
 30. The one or more electronically-accessible media as recited in claim 29, wherein the one or more electronically-accessible media comprise at least one memory of a client device of a television-based entertainment environment.
 31. The one or more electronically-accessible media as recited in claim 29, wherein the quantization matrix comprises a scaled quantization matrix.
 32. The one or more electronically-accessible media as recited in claim 29, further comprising instructions that, when executed, direct the electronic device to: smooth one or more discontinuities that are real discontinuities using a visual adjustment procedure.
 33. A method for deblocking video, comprising: detecting one or more discontinuities in proximity to block boundaries of an image; determining whether any of the one or more discontinuities are artificial discontinuities; and smoothing the one or more discontinuities that are determined to be artificial discontinuities; wherein the actions of detecting, determining, and smoothing are effectuated using a spatio-temporally varying filter.
 34. The method as recited in claim 33, wherein the spatio-temporally varying filter smooths artificial discontinuities to a greater extent in the vicinity of the block boundaries.
 35. The method as recited in claim 33, wherein the image is one image in a group of images; and wherein the spatio-temporally varying filter smooths artificial discontinuities to a greater extent in images that are relatively upstream in the group of images and smooths artificial discontinuities to a lesser extent in images that are relatively downstream in the group of images.
 36. The method as recited in claim 35, wherein the image comprises a picture that has been compressed and decompressed in accordance with a Moving Pictures Expert Group (MPEG)-compliant scheme; and wherein the group of images comprises a group of pictures (GOP).
 37. The method as recited in claim 33, wherein the spatio-temporally varying filter includes at least one temporal variable that is dependent on a group of pictures (GOP) position number (GPN).
 38. The method as recited in claim 33, wherein the spatio-temporally varying filter includes a plurality of filter zones between two block boundaries of the image.
 39. A method for deblocking video, comprising: ascertaining block boundaries of an image unit; ascertaining a position of the image unit in a group of images; and smoothing one or more discontinuities of the image unit responsive to individual locations of the one or more discontinuities relative to the block boundaries of the image unit and responsive to the position of the image unit in the group of images.
 40. The method as recited in claim 39, wherein the image unit comprises at least one of a frame and a macroblock.
 41. The method as recited in claim 39, wherein the action of smoothing one or more discontinuities of the image unit responsive to individual locations of the one or more discontinuities relative to the block boundaries of the image unit comprises smoothing the one or more discontinuities in increasing amounts as the individual locations of the one or more discontinuities approach the block boundaries.
 42. The method as recited in claim 39, wherein the action of smoothing one or more discontinuities of the image unit responsive to the position of the image unit in the group of images comprises smoothing the one or more discontinuities in decreasing amounts as the position of the image unit in the group of images increases.
 43. The method as recited in claim 39, wherein the actions of ascertaining and smoothing are performed by a client device of a television-based entertainment environment.
 44. One or more electronically-accessible media comprising electronically-executable instructions that, when executed, direct an electronic device to perform the method as recited in claim
 39. 45. An arrangement that is capable of deblocking video, comprising: ascertaining means for ascertaining block boundaries of an image unit and a position of the image unit in a group of images; and smoothing means for smoothing one or more discontinuities of the image unit (i) responsive to individual locations of the one or more discontinuities relative to the block boundaries of the image unit and (ii) responsive to the position of the image unit in the group of images.
 46. The arrangement as recited in claim 45, wherein the ascertaining means comprises a Moving Pictures Expert Group (MPEG)-compliant decoder.
 47. The arrangement as recited in claim 45, wherein the smoothing means comprises a spatial filtering means for spatial filtering that includes a plurality of filtering zones for application across the image unit; and wherein filtering zones of the plurality of filtering zones that overlap the block boundaries of the image unit filter more strongly than filtering zones of the plurality of filtering zones that are located away from the block boundaries.
 48. The arrangement as recited in claim 45, wherein the smoothing means comprises a temporal filtering means for temporal filtering that includes a filtering modifier that varies depending on how far downstream the position of the image unit is from an intra image unit in the group of images.
 49. The arrangement as recited in claim 45, wherein the arrangement comprises a client device for a television-based entertainment environment.
 50. A client device for a television-based entertainment environment, the client device configured to perform actions comprising: spatially filtering an image having a plurality of blocks, each block of the plurality of blocks having a middle and at least two boundaries; the spatial filtering orchestrated such that filtering increases near the at least two boundaries and decreases near the middle of each block of the plurality of blocks; and modifying the spatial filtering using a temporally-varying variable, the temporally-varying variable established such that the spatial filtering is greater for images near the beginning of groups of images and reduced for images near the end of groups of images.
 51. The client device as recited in claim 50, wherein the spatial filtering smooths at least artificial discontinuities.
 52. The client device as recited in claim 50, wherein the temporally-varying variable may be determined from a formula using a group of images position number.
 53. The client device as recited in claim 50, wherein the temporally-varying variable may be determined from a set of temporally-varying variables using a group of images position number.
 54. The client device as recited in claim 50, wherein the client device is further configured to perform actions comprising: receiving video data via an interface; and decoding the video data into video information that includes the image.
 55. The client device as recited in claim 50, wherein the client device is further configured to perform an action comprising: forwarding the image, which has been spatially filtered as modified by the temporally-varying variable, to a video screen.
 56. One or more electronically-accessible media comprising instructions that, when executed, direct an electronic device to: spatially filter an image having a plurality of blocks, each block of the plurality of blocks having a middle and at least two boundaries; the spatial filtering orchestrated such that filtering increases near the at least two boundaries and decreases near the middle of each block of the plurality of blocks; and modify the spatial filtering using a temporally-varying variable, the temporally-varying variable established such that the spatial filtering is greater for images near the beginning of groups of images than for images near the end of groups of images.
 57. The one or more electronically-accessible media as recited in claim 56, further comprising instructions that, when executed, direct the electronic device to: apply the spatial filtering on discontinuities of the image.
 58. The one or more electronically-accessible media as recited in claim 56, further comprising instructions that, when executed, direct the electronic device to: receive video data via an interface; decode the video data into video information that includes the image; and forward the image, which has been spatially filtered as modified by the temporally-varying variable, to a video screen.
 59. A method for providing video deblocking, comprising: detecting a discontinuity in proximity to a block boundary of video information; determining whether the discontinuity is an artificial discontinuity; and if so, smoothing the artificial discontinuity on both sides of the block boundary.
 60. The method as recited in claim 59, wherein the action of detecting a discontinuity in proximity to a block boundary of video information comprises: detecting one or more discontinuities at four different block boundaries of a block of the video information.
 61. The method as recited in claim 59, wherein the action of detecting a discontinuity in proximity to a block boundary of video information comprises: detecting one or more discontinuities in a window around the block boundary of a block of the video information.
 62. The method as recited in claim 59, wherein the block boundary comprises a macroblock boundary; and wherein the action of detecting a discontinuity in proximity to a block boundary of video information comprises: detecting one or more discontinuities in proximity to the macroblock boundary of a macroblock of the video information.
 63. The method as recited in claim 59, wherein the action of detecting a discontinuity in proximity to a block boundary of video information comprises: applying a Laplacian of Gaussian (LoG) operation on an image of the video information.
 64. The method as recited in claim 59, wherein the action of determining whether the discontinuity is an artificial discontinuity comprises: applying a Laplacian of Gaussian (LoG) operation on a quantization matrix that has been used to de-quantize the video information.
 65. The method as recited in claim 59, wherein the action of determining whether the discontinuity is an artificial discontinuity comprises: applying a Laplacian of Gaussian (LoG) operation on a quantization matrix that is in the time domain.
 66. The method as recited in claim 59, wherein the action of determining whether the discontinuity is an artificial discontinuity comprises: applying a Laplacian of Gaussian (LoG) operation on a quantization matrix to produce a plurality of values; analyzing the plurality of values to determine a real discontinuity threshold responsive to at least one maximum absolute value of the plurality of values.
 67. The method as recited in claim 59, wherein the action of determining whether the discontinuity is an artificial discontinuity comprises: comparing a first plurality of values that result from applying a Laplacian of Gaussian (LoG) operation on an image of the video information to a threshold that is determined responsive to a second plurality of values that result from applying the LoG operation on a quantization matrix.
 68. The method as recited in claim 67, wherein the quantization matrix comprises a scaled quantization matrix.
 69. The method as recited in claim 59, wherein the action of determining whether the discontinuity is an artificial discontinuity comprises: determining that the discontinuity is an artificial discontinuity if a predetermined fraction of a first plurality of values that result from applying a Laplacian of Gaussian (LoG) operation on an image of the video information are less than a threshold that is determined responsive to a second plurality of values that result from applying the LoG operation on a quantization matrix.
 70. The method as recited in claim 59, wherein the action of determining whether the discontinuity is an artificial discontinuity comprises: determining that the discontinuity is not an artificial discontinuity if a predetermined fraction of a first plurality of values that result from applying a Laplacian of Gaussian (LoG) operation on an image of the video information are greater than a threshold that is determined responsive to a second plurality of values that result from applying the LoG operation on a quantization matrix.
 71. The method as recited in claim 70, further comprising: visually adjusting the discontinuity that is not an artificial discontinuity.
 72. The method as recited in claim 59, wherein the action of smoothing the artificial discontinuity on both sides of the block boundary comprises: applying at least one smoothing filter to the artificial discontinuity.
 73. The method as recited in claim 72, wherein the action of applying at least one smoothing filter to the artificial discontinuity comprises: applying at least one of a Gaussian filter and a tent filter to the artificial discontinuity.
 74. The method as recited in claim 59, further comprising: decoding compressed video data to produce the video information.
 75. The method as recited in claim 59, wherein the action of smoothing the artificial discontinuity on both sides of the block boundary comprises: smoothing pixels of the video information; and further comprising: forwarding the video information for display on a screen.
 76. The method as recited in claim 59, wherein the actions of detecting, determining, and smoothing are performed by a client device of a television-based entertainment environment.
 77. The method as recited in claim 59, wherein the actions of detecting, determining, and smoothing comprise applying a spatio-temporally varying filter.
 78. The method as recited in claim 59, wherein the actions of detecting, determining, and smoothing comprise applying a spatio-temporally varying filter that varies spatially across a block of the video information and temporally along a group of pictures.
 79. The method as recited in claim 78, wherein the spatial variation is such that filtering increases near block boundaries of the block and decreases near the middle of the block.
 80. The method as recited in claim 78, wherein the temporal variation is such that filtering decreases as pictures progress downstream along the group of pictures.
 81. The method as recited in claim 59, wherein, when an intra image unit of the video information is under consideration, the action of detecting comprises applying a Laplacian of Gaussian (LoG) operation on the intra image unit to produce a first plurality of values; the action of determining comprises comparing the first plurality of values to a threshold that is determined responsive to a second plurality of values that result from applying the LoG operation on a quantization matrix; and the action of smoothing comprises applying at least one of a Gaussian filter and a tent filter to the artificial discontinuity on both sides of the block boundary.
 82. The method as recited in claim 59, wherein, when a non-intra image unit of the video information is under consideration, the actions of detecting, determining, and smoothing comprise applying a spatio-temporally varying filter that varies spatially across the non-intra image unit and temporally along a group of images of the video information.
 83. One or more electronically-accessible media comprising electronically-executable instructions that, when executed, direct an electronic device to perform the method as recited in claim
 59. 84. A method for deblocking video, comprising: determining whether an image unit of video information is an intra image unit or a non-intra image unit, the image unit having at least two boundaries; if the image unit is determined to be an intra image unit, then performing actions comprising: detecting one or more discontinuities at the at least two boundaries of the image unit; determining whether the one or more discontinuities include one or more artificial discontinuities and whether the one or more discontinuities include one or more real discontinuities; smoothing the one or more artificial discontinuities, if any, using a filter smoothing procedure; and smoothing the one or more real discontinuities, if any, using a visual adjustment procedure; and if the image unit is determined to be a non-intra image unit, then performing actions comprising: ascertaining a position of the image unit in a group of images; and smoothing one or more discontinuities of the image unit responsive (i) to individual locations of the one or more discontinuities relative to the at least two boundaries of the image unit and (ii) to the position of the image unit in the group of images.
 85. The method as recited in claim 84, wherein the image unit comprises at least one of a frame and a macroblock.
 86. The method as recited in claim 84, wherein the method is performed by a client device of a television-based entertainment environment.
 87. The method as recited in claim 84, wherein the group of images comprises a group of pictures (GOP) in accordance with a Moving Pictures Expert Group (MPEG)-compliant encoding/decoding scheme.
 88. The method as recited in claim 84, wherein the action of determining whether the one or more discontinuities include one or more artificial discontinuities and whether the one or more discontinuities include one or more real discontinuities comprises applying a Laplacian of Gaussian (LoG) operation on a quantization matrix, the quantization matrix previously being used to quantize the image unit.
 89. The method as recited in claim 84, wherein the action of smoothing one or more discontinuities of the image unit responsive (i) to individual locations of the one or more discontinuities relative to the at least two boundaries of the image unit and (ii) to the position of the image unit in the group of images comprises smoothing the one or more discontinuities to a greater extent the closer the individual locations are to a boundary of the at least two boundaries and to a lesser extent the further the non-intra image unit is from an immediately-previous intra image unit.
 90. The method as recited in claim 84, wherein the non-intra image unit comprises at least one of a predicted image unit and a bi-directional image unit.
 91. A method for deblocking video, comprising: analyzing intra macroblocks of video information to detect one or more discontinuities and to determine whether the one or more discontinuities include one or more artificial discontinuities and whether the one or more discontinuities include one or more real discontinuities; and applying a spatio-temporally varying filter to non-intra macroblocks of the video information.
 92. The method as recited in claim 91, further comprising: determining whether a macroblock is an intra macroblock or a non-intra macroblock based on whether a frame that contains the macroblock is an intra frame or a non-intra frame, respectively.
 93. The method as recited in claim 91, further comprising: determining whether a macroblock is an intra macroblock or a non-intra macroblock on a macroblock-by-macroblock basis.
 94. The method as recited in claim 91, further comprising: smoothing the one or more artificial discontinuities, if any, using a filter smoothing procedure.
 95. The method as recited in claim 91, further comprising: smoothing the one or more real discontinuities, if any, using a visual adjustment procedure.
 96. The method as recited in claim 91, wherein the action of analyzing intra macroblocks of video information comprises: detecting the one or more discontinuities by using a Laplacian of Gaussian (LoG) operation on an image of the video information.
 97. The method as recited in claim 91, wherein the action of analyzing intra macroblocks of video information comprises: determining whether the one or more discontinuities include one or more artificial discontinuities and whether the one or more discontinuities include one or more real discontinuities by using a Laplacian of Gaussian (LoG) operation on a quantization matrix, the quantization matrix previously used to quantize an image of the video information.
 98. The method as recited in claim 97, wherein the action of determining whether the one or more discontinuities include one or more artificial discontinuities and whether the one or more discontinuities include one or more real discontinuities by using a Laplacian of Gaussian (LoG) operation on a quantization matrix comprises: determining whether the one or more discontinuities include one or more real discontinuities by using the LoG operation on a scaled quantization matrix.
 99. The method as recited in claim 91, wherein the action of applying a spatio-temporally varying filter comprises: increasing filtering for pixels proximate to macroblock boundaries of the non-intra macroblocks of the video information; and decreasing filtering for pixels distant from the macroblock boundaries of the non-intra macroblocks of the video information. 